projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70fc16
)
Fix which-key--next-page-hint
author
Justin Burkett
<justin@burkett.cc>
Tue, 8 Sep 2020 22:59:30 +0000
(18:59 -0400)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 8 Sep 2020 22:59:30 +0000
(18:59 -0400)
prefix-keys might be a vector.
Fixes #265
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index a25337f3d9a63ca32fec28747b3969cee8ffb181..1dbdd08400bc21cd1cde261a90c872765b0d62ac 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-2126,8
+2126,9
@@
max-lines max-width avl-lines avl-width (which-key--pages-height result))
(concat key " or " which-key-paging-key)
key)))
(when (and which-key-use-C-h-commands
- (not (string-equal (char-to-string help-char)
- (kbd prefix-keys))))
+ (or (not (stringp (kbd prefix-keys)))
+ (not (string-equal (char-to-string help-char)
+ (kbd prefix-keys)))))
(which-key--propertize (format "[%s paging/help]" key)
'face 'which-key-note-face))))